#pragma once 

#include "MenuElement.h"

struct PlayerStat;

enum ShopItemState 
{
	ACTIVE,
	UNACTIVE
};

class ShopItem : public MenuElement
{

	ShopItemState state;
public:

	virtual Widget * getWidget() = 0;
	virtual void updateState(PlayerStat & stat) = 0;
	virtual void init() = 0;
	virtual void onDestroy() = 0;

	ShopItemState getState();
	void setState(ShopItemState state);
};